<template>
  <div class="home">
    <router-view></router-view>

    <div class="navs">
      <!-- <router-link to="/home/views">面经</router-link>
      <router-link to="/home/collect">收藏</router-link>
      <router-link to="/home/up">点赞</router-link>
      <router-link to="/home/my">我的</router-link> -->
      <van-tabbar route active-color="#FFA500">
        <van-tabbar-item replace to="/home/views" icon="home-o"
          >面经</van-tabbar-item
        >
        <van-tabbar-item replace to="/home/collect" icon="search"
          >收藏</van-tabbar-item
        >
        <van-tabbar-item replace to="/home/up" icon="home-o"
          >点赞</van-tabbar-item
        >
        <van-tabbar-item replace to="/home/my" icon="search"
          >我的</van-tabbar-item
        >
      </van-tabbar>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="less">
.navs {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  position: fixed;
  left: 0;
  bottom: 0;
  height: 40px;
  text-align: center;
}
</style>
